package model;

public class Inscrition {

	private int student_id;
	private int discipline_id;
	private String date;

	public Inscrition(int student_id, int discipline_id, String date) {
		this.student_id = student_id;
		this.discipline_id = discipline_id;
		this.date = date;
	}

	public int getStudent_id() {
		return student_id;
	}

	public void setStudent_id(int student_id) {
		this.student_id = student_id;
	}

	public int getDiscipline_id() {
		return discipline_id;
	}

	public void setDiscipline_id(int discipline_id) {
		this.discipline_id = discipline_id;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}
	
	@Override
	public String toString(){
		StringBuilder str = new StringBuilder();
		
		str.append("\nInscrition: \n");
		str.append("\tstudent_id: " + this.student_id);
		str.append("\tdiscipline_id: " + this.discipline_id);
		str.append("\tdate: " + this.date);
		str.append("\n");
		
		return str.toString();
	}

}
